<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>放大镜</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    <div class="container" id="grass1">
        <div class="left">
        <div class="showBox">
         <ul>
             <li><img src="./image/show_1.jpg"> </li>
         </ul>
         <div class="box"></div>
        </div>
         <div class="smallBox">
               <ol>
                   <li class="active"><img src="./image/small_1.jpg"> </li>
                   <li><img src="./image/small_2.jpg"> </li>
                   <li><img src="./image/small_3.jpg"> </li>
                   <li><img src="./image/small_4.jpg"> </li>
               </ol>
         </div>
        </div>
         <div class="bigBox">
             <img src="./image/big_1.jpg" alt="">
         </div>
        
    </div>
    <script src="./js/index.js"></script>
    <script>
        let grass1=new Grass('#grass1')
        grass1.inist()
        grass1.onShowAndHide()
          
        grass1.onBoxMove()
         grass1.onTag()
    </script>
</body>
</html>